vIC: Interrupt Coalescing for Virtual Machine Storage Device IO
نویسندگان
چکیده
Interrupt coalescing is a well known and proven technique for reducing CPU utilization when processing high IO rates in network and storage controllers. Virtualization introduces a layer of virtual hardware for the guest operating system, whose interrupt rate can be controlled by the hypervisor. Unfortunately, existing techniques based on high-resolution timers are not practical for virtual devices, due to their large overhead. In this paper, we present the design and implementation of a virtual interrupt coalescing (vIC) scheme for virtual SCSI hardware controllers in a hypervisor. We use the number of commands in flight from the guest as well as the current IO rate to dynamically set the degree of interrupt coalescing. Compared to existing techniques in hardware, our work does not rely on high-resolution interrupt-delay timers and thus leads to a very efficient implementation in a hypervisor. Furthermore, our technique is generic and therefore applicable to all types of hardware storage IO controllers which, unlike networking, don’t receive anonymous traffic. We also propose an optimization to reduce inter-processor interrupts (IPIs) resulting in better application performance during periods of high IO activity. Our implementation of virtual interrupt coalescing has been shipping with VMware ESX since 2009. We present our evaluation showing performance improvements in micro benchmarks of up to 18% and in TPC-C of up to 5%.
منابع مشابه
Improving Performance with Interrupt Coalescing for Virtual Machine Disk IO in VMware ESX Server
Interrupt coalescing is a proven technique for reducing CPU utilization when processing high IO rates in storage and networking controllers. Virtualization introduces a layer of virtual hardware whose interrupt rate can be controlled by the hypervisor. In this paper, we present the design and implementation of a virtual interrupt coalescing scheme for virtual SCSI hardware controllers in a hype...
متن کاملInterrupt Coalescing in Xen with Scheduler Awareness
Whole-system virtualization causes interrupt handling to be much more difficult than that of operating systems running directly on the hardware. In particular, interrupt delivery and handling is crucial for timer accuracy, I/O performance, and CPU efficiency, among other facets of the system. Substantial efforts have been undertaken to improve interrupt performance on virtual machines, includin...
متن کاملVirtualizing Performance-Critical Database Applications in VMware vSphere
VMware® vSphereTM 4.0 with ESXTM 4.0 makes it easier than ever to virtualize demanding applications such as databases. Database workloads are widely acknowledged to be extremely resource-intensive. The large number of storage commands issued and the network activity to serve remote clients place significant challenges on the platform. The high consumption of CPU and memory resources leaves litt...
متن کاملSorting Reordered Packets with Interrupt Coalescing
TCP performs poorly in networks with serious packet reordering. Processing reordered packets in the TCP-layer is costly and inefficient, involving interaction of the sender and receiver. Motivated by the interrupt coalescing mechanism that delivers packets upward for protocol processing in blocks, we propose a new strategy, Sorting Reordered Packets with Interrupt Coalescing (SRPIC), to reduce ...
متن کاملHP Client Virtualization Reference Architecture for VMware View Reference Architecture for Stateless Desktops
VMware View for HP Client Virtualization reference architecture design 7 The building block 8 HP Thin Client as access devices 9 Virtual infrastructure configuration 9 Physical component configuration 10 Infrastructure virtual machines 10 HP IO Accelerator configuration 11 Shared storage configuration 11 Access infrastructure 12 Physical network details 12 Detailed VMware View pool configuratio...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011